home *** CD-ROM | disk | FTP | other *** search
- #ifndef __KH_ERROR_H_
- #define __KH_ERROR_H_
-
- /* Error handler. Enumeration could be continued in this or another
- file(s). This is why could not be used "enum ERRORS { ..."
- I suppose to use this variable as common error variable in
- the next version of package.
- */
-
- enum { KH_SUCCESS, KH_UNKNOWN_ERROR, KH_FILE_ERROR, KH_BGI_ERROR,
- KH_MEMORY_ERROR,
-
-
- KH_USER_ERROR };
-
- extern int kh_error_code; // Last error in system
-
-
-
- #endif __KH_ERROR_H_
-